#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages

with open("README.md", "r", encoding="utf-8") as fh:
    long_description = fh.read()

with open("requirements.txt", "r", encoding="utf-8") as f:
    requirements = [line.strip() for line in f if not line.startswith("#")]

setup(
    name="ascend-llm-demo",
    version="0.1.0",
    author="SIE-AI",
    author_email="example@example.com",
    description="基于昇腾处理器的大语言模型推理服务",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/SIE-AI/AI_ability",
    packages=find_packages(),
    include_package_data=True,
    package_data={
        "ascend_llm_demo": ["templates/*.html", "static/*"],
    },
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "Topic :: Scientific/Engineering :: Artificial Intelligence",
        "License :: OSI Approved :: Apache Software License",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
    ],
    python_requires=">=3.8",
    install_requires=requirements,
    entry_points={
        "console_scripts": [
            "ascend-llm-server=ascend_llm_demo.model_service:main",
            "ascend-llm-web=ascend_llm_demo.web_ui:main",
            "ascend-llm-client=ascend_llm_demo.client:main",
        ],
    },
) 